home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1995-06-30 | 73.4 KB | 2,195 lines
card_6688.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>6688</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>3062</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>14</left> <top>52</top> <right>505</right> <bottom>331</bottom> </rect> <style>shadow</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>BG</name> <script></script> </part> <part> <id>1</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>14</left> <top>52</top> <right>504</right> <bottom>330</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Description</name> <script></script> </part> <part> <id>5</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>78</left> <top>79</top> <right>434</right> <bottom>229</bottom> </rect> <style>shadow</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>italic</textStyle> <textHeight>12</textHeight> <name>Credits</name> <script>on mouseUp lock screen hide me hide cd btn "Credits ICON" unlock screen with visual effect dissolve fast pass mouseUp end mouseUp</script> </part> <part> <id>2</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>331</left> <top>154</top> <right>376</right> <bottom>190</bottom> </rect> <style>transparent</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>6002</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Credits ICON</name> <script>on mouseUp hide me hide cd fld "Credits" pass mouseUp end mouseUp </script> </part> <part> <id>3</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>471</left> <top>0</top> <right>512</right> <bottom>42</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>19678</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>About</name> <script>on mouseUp set cantAbort of this stack to true lock screen show cd fld "Credits" show cd btn "Credits ICON" unlock screen with visual effect iris open fast wait until the mouseclick lock screen hide cd btn "Credits ICON" hide cd fld "Credits" unlock screen with visual effect dissolve fast set cantAbort of this stack to false pass mouseUp end mouseUp</script> </part> <part> <id>8</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>133</left> <top>8</top> <right>377</right> <bottom>34</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Helvetica</font> <textSize>18</textSize> <textStyle>bold</textStyle> <name>BasicDB Database XCMDs</name> <script></script> </part> <content> <layer>card</layer> <id>1</id> <text><span class="style1"> </span><span class="style4">For purposes of explaining BasicDB, a HyperCard environment will be assumed. However, the externals should work anywhere the basic XCMD interface is supported. See Tech Notes at the end for an explanation/exceptions.</span><span class="style1"> BasicDB is a set of externals that implements a simple database file system. BasicDB is just that, basic. It is intended for those developers that do not want to store their data inside of HyperCard fields inside of stacks, but do not need any of the fancy relational or other features of higher end systems. A BasicDB file can contain any number of records. Each record, however, has a fixed structure of the following: 1. A Numeric key 2. A String key 3. Text data 4. Item ID </span><span class="style5">Record Structure Description:</span><span class="style1"> 1. The numeric key is a 32 bit long integer. When this value is to be converted to a string and returned, it will always be converted as an unsigned long integer. It can be passed in as a negative number in any of the searching or new item routines and everything will be work as planned (32 bits is 32 bits is 32 bits) Therefore if you want to have negative numbers, you will have to convert them manually. I have my reasons for this. If you find this situation intolerable, then let me know and I'll take a look at doing something about it. 2. The String key has a maximum of 63 characters. 3. The Text Data item: You may store as much data as you want in this field (up to 2GB). Much more than the 30,000 character limit on text inside of a field that HyperCard imposes. The only limit is that you must have enough available RAM within HyperCard to read and write the data. 4. The Item ID is a totally unique value and is completely controlled by the system. BasicDB does not have any indexing or anything fancy. It does have searching. You can search for an equality on the numeric key or the string key or a "contains" search on the text data. See the BasicDBFindItem XFCN description. If you want your numeric or string keys to be constricted to unique values then you have to program that into your own code. </span><span class="style5">Usage:</span><span class="style1"> In all of the calls to any BasicDB external, the first parameter will always be the full path of the database file. BasicDB will open and close the file each time you perform an operation. BasicDB does not require any stored global values that must be initialized before working with a database file or deinitialized when finished. </span><span class="style5">Demo Notes:</span><span class="style1"> This demo is limited in that 14 days after a database file is created, the database will essentially become "locked." The externals which </span><span class="style5">change</span><span class="style1"> the data items in that database file will return an error message that the file has expired. The externals which simply read the database file in any manner will continue to function. The only deviation from this scheme is that you can Compact a database file. If you wish to purchase BasicDB in its full form with technical support by email, then send me an e-mail at any of the addresses in the about box and I will give you details on how to make payment. After I receive payment I will either send you the full version by e-mail or snail-mail. </span><span class="style5">Tech Notes: </span><span class="style1"> 1. Yes, I know opening and closing the file every time incurs a speed penalty, but that was not my primary intention in creating this system. My first priority was in getting the data I was storing in HyperCard fields out of HyperCard. I also make a PBFlushFile call every time the file is changed!!! So sue me!!! 2. The BasicDBFindItem XFCN uses a single binary callback asking HyperCard to perform a string match operation. This occurs only if you perform a "data" search. (See BasicDBFindItem for details on types of searches) If the environment that you want to use BasicDB in does not support this callback then doing this type of search will most likely crash your application. I might remove this callback at a later date. 3. Actually, I lied, the BasicDBGetIndex XFCN also makes a binary callback to convert the numeric key into a string. That callback converts it as an unsigned long integer. 4. The external's error messages are kept in a "STR#" resource that must accompany the externals. </span><span class="style5">Items To Consider For Future Versions:</span><span class="style1"> 1. Sorting external. 2. GetDBInfo external that reports the amount of free space in the file or other tidbits. 3. SetKey external. 4. Support for signed numeric keys. I might make this an option in the appropriate externals or make it an attribute of a particular database file. </span><span class="style5">Release History</span><span class="style1"> 1.1 - 7/1/1995 • Expanded the string key for each database item from 31 characters to 63 characters. This change will make BasicDB 1.0 files incompatible with 1.1 files. You must reload your data through some sort of scripting. I'm sorry about this change, but it was necessary for my project. I'm also sorry that there is no conversion external. • Modified the return value of BasicDBNewItem to return the same full line of data that is returned by the GetIndex call. This will help in maintaining external indexes. • Added user stored long integer and Str127 to the header block. Also created appropriate externals to get/set these values. • Added field to the header block that is the last time that the database was compacted. • Changed all the FlushVol calls to PBFlushFile. Should improve performance a bit. • Created a BasicDBVerify external to check the integrity of the database. • Changed the error string handling to look for the STR# resource by name instead of ID. 1.0 - 5/3/1995 • First Release</span></text> </content> <content> <layer>card</layer> <id>5</id> <text><span class="style1"> This stack and external(s) were created by Brian Blood using CompileIt! 2.6.1. If you have any questions, comments, suggestions, and/or bug reports, please contact me at any of the following addresses: AOL: Maveric9 eWorld: Maverick Compuserve: 72540,1771 </span><span class="style6">Howdy!</span><span class="style1"> Internet: Maveric9@aol.com This stack/external ©1995 by Brian Blood. All Rights Reserved.</span></text> </content> <name></name> <script></script> </card> card_2768.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>2768</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>3</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>15</left> <top>238</top> <right>74</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Create File</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put cd fld "Global Long" into globalLong put cd fld "Global String" into globalString put the ticks into timeA BasicDBCreate dbFile, globalLong, globalString put the result into theResult put the ticks into timeB if theResult≠empty then answer theResult put timeB-timeA into bg fld "Access Time" pass mouseUp end mouseUp</script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>14</left> <top>189</top> <right>90</right> <bottom>211</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Set DB File:</name> <script>on mouseUp ask file "Set DB File to:" with "BasicDB Test File" if it≠empty then put it into bg fld "DB File" pass mouseUp end mouseUp</script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>105</left> <top>224</top> <right>164</right> <bottom>238</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Global Long:</name> <script></script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>97</left> <top>240</top> <right>164</right> <bottom>254</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Global String:</name> <script></script> </part> <part> <id>7</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <part> <id>8</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>164</left> <top>242</top> <right>496</right> <bottom>255</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Global String</name> <script></script> </part> <part> <id>9</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>164</left> <top>224</top> <right>261</right> <bottom>237</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Global Long</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBCreate</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBCreate XCMD will create a new database file. </span><span class="style5">Parameters:</span><span class="style1"> 1. Full pathname for the new database file. 2. Global long integer value for the database. 3. Global String value for the database. (Max 127 characters) </span><span class="style5">Usage:</span><span class="style1"> BasicDBCreate theFile, globalLong, globalString </span><span class="style5">Notes:</span><span class="style1"> The new database file will have a file type of "Data" and a creator type "BsDB". Check "the result" for any errors. The new global data values are for things like comments or database serial numbers, etc.</span></text> </content> <name>BasicDBCreate</name> <script></script> </card> card_4166.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>4166</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>18</left> <top>302</top> <right>77</right> <bottom>324</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>New Item</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put cd fld "Data" into theData put cd fld "Number Key" into numKey put cd fld "String Key" into strKey put the ticks into timeA BasicDBNewItem dbFile, theData, numKey, strKey put the result into theResult put the ticks into timeB put timeB-timeA into bg fld "Access Time" if "Error" is in theResult then answer theResult else put theResult into bg fld "Current Item" pass mouseUp end mouseUp</script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>284</left> <top>239</top> <right>350</right> <bottom>253</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Number Key:</name> <script></script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>290</left> <top>256</top> <right>350</right> <bottom>269</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>String Key:</name> <script></script> </part> <part> <id>6</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>350</left> <top>239</top> <right>450</right> <bottom>252</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Number Key</name> <script></script> </part> <part> <id>7</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>350</left> <top>256</top> <right>510</right> <bottom>269</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>String Key</name> <script></script> </part> <part> <id>9</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>11</left> <top>221</top> <right>280</right> <bottom>284</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Data</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBNewItem</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBNewItem XCMD adds a new item to the database file. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. 2. The data for the text item. 3. The number for the numeric key 4. The string for the string key. </span><span class="style5">Usage:</span><span class="style1"> BasicDBNewItem theFile, theData, numKey, strKey </span><span class="style5">Notes:</span><span class="style1"> Initially searches for a dead spot in the file to place the item, but if it cannot find one, then it will append it to the file.</span></text> </content> <name>BasicDBNewItem</name> <script></script> </card> card_4736.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>4736</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>16</left> <top>238</top> <right>75</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Num Items</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put the ticks into timeA put BasicDBNumItems(dbFile) into numRecords put the ticks into timeB put timeB-timeA into bg fld "Access Time" put "There are"&& numRecords &&"in the database." pass mouseUp end mouseUp </script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBNumItems</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBNumItems XFCN returns the number of active items in the database file. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. </span><span class="style5">Usage:</span><span class="style1"> BasicDBNumItems(theFile) </span><span class="style5">Notes:</span><span class="style1"> </span></text> </content> <name>BasicDBNumItems</name> <script></script> </card> card_5049.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>5049</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>15</left> <top>238</top> <right>74</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Find Item</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put cd fld "Find Data" into findData put the selectedText of cd btn "Find Type" into findType put the ticks into timeA put BasicDBFindItem(dbFile, findData, findType) into theData put the ticks into timeB put timeB-timeA into bg fld "Access Time" put theData into cd fld "Found Items" put number of lines in theData into cd fld "Num Finds" pass mouseUp end mouseUp </script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>105</left> <top>224</top> <right>227</right> <bottom>239</bottom> </rect> <style>popup</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>50</titleWidth> <selectedLines> <integer>1</integer> </selectedLines> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Find Type</name> <script></script> </part> <part> <id>5</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>88</left> <top>248</top> <right>327</right> <bottom>298</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Find Data</name> <script></script> </part> <part> <id>6</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>356</left> <top>248</top> <right>508</right> <bottom>298</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Found Items</name> <script></script> </part> <part> <id>7</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>356</left> <top>233</top> <right>424</right> <bottom>247</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Found Items:</name> <script></script> </part> <part> <id>8</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>424</left> <top>300</top> <right>459</right> <bottom>313</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Num Finds</name> <script></script> </part> <part> <id>9</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>370</left> <top>300</top> <right>424</right> <bottom>313</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Num Finds:</name> <script></script> </part> <part> <id>10</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBFindItem</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBFindItem XFCN performs a search of the database file. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. 2. The search criteria data. 3. The type of search to perform. </span><span class="style5">Usage:</span><span class="style1"> BasicDBFindItem(theFile, findData, findType) </span><span class="style5">Notes:</span><span class="style1"> The XFCN returns a return delimited list of item IDs that match the search criteria. The findType parameter will determine what type of search will take place. When findType equals one of the following, that item's ID will be added to the match list. "number" : The numeric key matches findData. "string" : The string key matches findData "data" : The text data "contains" the findData parameter. This is a case-insensitive search.</span></text> </content> <content> <layer>card</layer> <id>4</id> <text>number string data</text> </content> <name>BasicDBFindItem</name> <script></script> </card> card_5422.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>5422</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>18</left> <top>302</top> <right>77</right> <bottom>324</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Get Item</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile -- if the optionKey=down then -- put BasicDBNumItems(dbFile) into numRecords -- put random(numRecords) into itemNum -- put itemNum into cd fld "Current Item" -- else put cd fld "Current Item" into itemNum put bg fld "Current Item" into itemNum put the ticks into timeA put BasicDBGetItem(dbFile, itemNum) into theData put the ticks into timeB put timeB-timeA into bg fld "Access Time" put length of theData into cd fld "Item Length" put char 1 to 30000 of theData into cd fld "Data" pass mouseUp end mouseUp </script> </part> <part> <id>3</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>11</left> <top>221</top> <right>369</right> <bottom>284</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Data</name> <script></script> </part> <part> <id>5</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>294</left> <top>287</top> <right>339</right> <bottom>300</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Item Length</name> <script></script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>235</left> <top>287</top> <right>294</right> <bottom>301</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Item Length:</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBGetItem</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBGetItem XFCN returns the text data component of a given database item ID. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. 2. Item ID. </span><span class="style5">Usage:</span><span class="style1"> BasicDBGetItem(theFile, itemID) </span><span class="style5">Notes:</span><span class="style1"> </span></text> </content> <name>BasicDBGetItem</name> <script></script> </card> card_5998.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>5998</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>15</left> <top>238</top> <right>74</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Delete Item</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put bg fld "Current Item" into itemNum put the ticks into timeA BasicDBDeleteItem dbFile, itemNum put the result into theResult put the ticks into timeB if "Error" is in theResult then answer theResult put timeB-timeA into bg fld "Access Time" pass mouseUp end mouseUp</script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBDeleteItem</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBDeleteItem XCMD deletes the database item of a given item ID. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. 2. Item ID. </span><span class="style5">Usage:</span><span class="style1"> BasicDBDeleteItem theFile, itemID </span><span class="style5">Notes:</span><span class="style1"> The data is not actually erased. The block taken up by the item is marked as free to be used for future items. This dead space may be reclaimed by using the BasicDBCompact XCMD.</span></text> </content> <name>BasicDBDeleteItem</name> <script></script> </card> card_6393.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>6393</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>18</left> <top>302</top> <right>77</right> <bottom>324</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Get Index</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put the ticks into timeA put BasicDBGetIndex(dbFile) into theData put the ticks into timeB put timeB-timeA into bg fld "Access Time" put theData into cd fld "Data" pass mouseUp end mouseUp </script> </part> <part> <id>3</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>11</left> <top>221</top> <right>369</right> <bottom>284</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Data</name> <script></script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBGetIndex</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBGetIndex XCMD compiles a sequential index of the items in a database file. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. </span><span class="style5">Usage:</span><span class="style1"> BasicDBGetIndex(theFile) </span><span class="style5">Notes:</span><span class="style1"> The XFCN returns a tab/return delimited list. The list contains the following: 1. The Item ID 2. The numeric key 3. The string key 4. The length of the text data component.</span></text> </content> <name>BasicDBGetIndex</name> <script></script> </card> card_3829.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>3829</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>7</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>11</left> <top>221</top> <right>280</right> <bottom>284</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Data</name> <script></script> </part> <part> <id>5</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>350</left> <top>239</top> <right>450</right> <bottom>252</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Number Key</name> <script></script> </part> <part> <id>6</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>350</left> <top>256</top> <right>510</right> <bottom>269</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>String Key</name> <script></script> </part> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>18</left> <top>302</top> <right>77</right> <bottom>324</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Set Item</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put bg fld "Current Item" into itemNum put cd fld "Data" into theData put cd fld "Number Key" into numKey put cd fld "String Key" into strKey put the ticks into timeA BasicDBSetItem dbFile, itemNum, theData, numKey, strKey put the result into theResult put the ticks into timeB if "Error" is in theResult then answer theResult put timeB-timeA into bg fld "Access Time" pass mouseUp end mouseUp</script> </part> <part> <id>8</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>284</left> <top>239</top> <right>350</right> <bottom>253</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Number Key:</name> <script></script> </part> <part> <id>9</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>290</left> <top>256</top> <right>350</right> <bottom>269</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>String Key:</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBSetItem</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBSetItem XCMD replaces the data for the fields for a given item ID. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. 2. Item ID 3. Text data 4. Numeric Key 5. String Key </span><span class="style5">Usage:</span><span class="style1"> BasicDBSetItem theFile, itemID, theData, numKey, strKey </span><span class="style5">Notes:</span><span class="style1"> The values of the numeric key, the string key and the text data are saved for the item ID sepcified. If the new data is too large to fit into the original spot in the file, the data will be saved at the first available spot in the file. As the external is searching for the item's original spot it will be looking for spots in the file where the data will fit. If it is necessary to move the data then the first available spot will be used. This particular routine, in effect, attempts to keep the database file from becoming bloated.</span></text> </content> <name>BasicDBSetItem</name> <script></script> </card> card_7004.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>7004</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>15</left> <top>238</top> <right>74</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Compact</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put the ticks into timeA BasicDBCompact dbFile put the result into theResult put the ticks into timeB if theResult≠empty then answer theResult put timeB-timeA into bg fld "Access Time" pass mouseUp end mouseUp</script> </part> <part> <id>7</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBCompact</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBCompact XCMD rebuilds the database file with only the active elements from the original, thereby removing any dead space from the file created by resizing or deleting items. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. </span><span class="style5">Usage:</span><span class="style1"> BasicDBCompact theFile </span><span class="style5">Notes:</span><span class="style1"> BasicDBCompact uses the safe save method of file reconstitution recommended by Apple. It creates a new file in the Temporary Items folder and rebuilds the file. It then uses the FSpExchangeFiles call to swap the directory entries. If during any time the process is interrupted by media failure or power interruption, then the databse file will not be corrupted by this code.</span></text> </content> <name>BasicDBCompact</name> <script></script> </card> card_5734.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>5734</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>1</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>3</left> <top>238</top> <right>83</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Set User Data</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put cd fld "Global Long" into userLong put cd fld "Global String" into userString put the ticks into timeA BasicDBSetUserData dbFile, userLong, userString put the result into theResult put the ticks into timeB if theResult≠empty then answer theResult put timeB-timeA into bg fld "Access Time" pass mouseUp end mouseUp</script> </part> <part> <id>2</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>164</left> <top>242</top> <right>496</right> <bottom>255</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Global String</name> <script></script> </part> <part> <id>3</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>164</left> <top>224</top> <right>261</right> <bottom>237</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Global Long</name> <script></script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>105</left> <top>224</top> <right>164</right> <bottom>238</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Global Long:</name> <script></script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>97</left> <top>240</top> <right>164</right> <bottom>254</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Global String:</name> <script></script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBSetUserData</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBSetUserData XCMD sets the user defined long integer and string values that are kept in the database's header file. You can use these two "global" fields for anything you'd like, a comment, a version number or whatever. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. 2. Global Long Integer 3. Global String (Max 127 characters) </span><span class="style5">Usage:</span><span class="style1"> BasicDBSetUserData theFile, globalLong, globalString </span><span class="style5">Notes:</span></text> </content> <name>BasicDBSetUserData</name> <script></script> </card> card_7185.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>7185</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>1</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>3</left> <top>238</top> <right>83</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Get User Data</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put the ticks into timeA put BasicDBGetUserData(dbFile) into theData put the result into theResult put the ticks into timeB put line 1 of theData into cd fld "Global Long" delete line 1 of theData put theData into cd fld "Global String" put timeB-timeA into bg fld "Access Time" pass mouseUp end mouseUp</script> </part> <part> <id>2</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>164</left> <top>242</top> <right>496</right> <bottom>255</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Global String</name> <script></script> </part> <part> <id>3</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>164</left> <top>224</top> <right>261</right> <bottom>237</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Global Long</name> <script></script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>105</left> <top>224</top> <right>164</right> <bottom>238</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Global Long:</name> <script></script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>97</left> <top>240</top> <right>164</right> <bottom>254</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Global String:</name> <script></script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBGetUserData</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBGetUserData XFCN returns the user defined long integer and string values that are kept in the database's header file. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. </span><span class="style5">Usage:</span><span class="style1"> BasicDBGetUserData(theFile) </span><span class="style5">Notes: </span><span class="style1"> The user long is returned on line 1 of the result and the user string starts on line 2. (The string may have return characters in it, so...)</span></text> </content> <name>BasicDBGetUserData</name> <script></script> </card> card_7445.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>7445</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>5207</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3204.css" /> <part> <id>1</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>3</left> <top>238</top> <right>83</right> <bottom>260</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Verify Database</name> <script>on mouseUp set cursor to watch put bg fld "DB File" into dbFile put the ticks into timeA put BasicDBVerify(dbFile) into dbStatus put the result into theResult put the ticks into timeB put timeB-timeA into bg fld "Access Time" answer dbStatus pass mouseUp end mouseUp</script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>201</left> <top>310</top> <right>351</right> <bottom>342</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <name>Mask</name> <script></script> </part> <content> <layer>background</layer> <id>3</id> <text>BasicDBVerify</text> </content> <content> <layer>background</layer> <id>16</id> <text><span class="style5">escription:</span><span class="style1"> The BasicDBVerify XFCN validates the integrity of the database file. It returns a status message. </span><span class="style5">Parameters:</span><span class="style1"> 1. Database file. </span><span class="style5">Usage:</span><span class="style1"> BasicDBVerify(theFile) </span><span class="style5">Notes:</span></text> </content> <name>BasicDBVerify</name> <script></script> </card>